package org.skydiveapplibrary.ui;

import java.util.List;

import android.content.Context;
import android.view.View;
import android.view.ViewGroup;

public abstract class BaseSpinnerAdapter<T> extends BaseListAdapter<T>
{
	public BaseSpinnerAdapter(Context context, List<T> items)
	{
		super(context, items);
	}
	
	@Override
    public View getDropDownView(int index, View view, ViewGroup parent)
	{
		return getTextView(index, view, parent,
				android.R.layout.simple_spinner_dropdown_item);
    }

	@Override
	public View getView(int index, View view, ViewGroup parent)
	{
		return getTextView(index, view, parent,
				android.R.layout.simple_spinner_item);
	}
}
